/**
 * 应用组件相关配置
 */	
require.config({
	baseUrl: 'resources/js',
	paths: {
		jquery: 'component/jquery/jquery-1.9.1',
		jqueryUI: 'component/jquery/jquery-ui.min',
		migrate: 'component/jquery/jquery-migrate-1.2.1',
		corner: 'component/jquery/jquery.corner',
		carousel :'component/jquery/jquery.carousel',
		vscroller:'component/jquery/jquery-vscroller',
		timeAxis:'component/jquery/jquery-timeAxis',
		easing:'component/jquery/jquery.easing',
		mousewheel:'component/jquery/jquery.mousewheel',
		orange: 'app/orange',
		bootstrap: 'component/bootstrap/bootstrap-3.3.5.min',
		html5shiv: 'component/bootstrap/html5shiv.min',
		respond: 'component/bootstrap/respond',
		echarts : 'component/echarts/echarts',
		masonry:'component/jquery/jquery.masonry.min',
		
		//ylm start
		velocity: 'component/jquery/jquery.velocity.min', //又导航引用文件
		c: 'charts/chart'	//封装chart，可以使用bar and line
		
		//ylm end
	},
	shim: {
		'bootstrap': {
			deps: ['jquery','html5shiv','respond']
		},
		'corner': {
			deps: ['jquery','migrate']
		},
		'timeAxis': {
			deps: ['jquery','easing','mousewheel']
		},
		'velocity': {
			deps: ['jquery']
		}
	}
});

/**
 * 加载组件orange、bootstrap，并启动应用
 */	
require(['orange','bootstrap'], function(orange) {
	 orange.start();
});

